<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>文件下载</title>
</head>
<body>
    <h1>文件下载列表</h1>
    <table border="1px" cellspacing="0" width="100%" >
        <tr>
            <td>序号</td>
            <td>文件名</td>
            <td>下载</td>
        </tr>
        <c:forEach items="${fileVOs}" var="fileVO" varStatus="vs">
            <tr>
                <td>${vs.index+1}</td>
                <td>${fileVO.realName}</td>
                <td><a href="${pageContext.request.contextPath}/file/download?fileName=${fileVO.uuid}">${fileVO.realName}</a></td>
            </tr>
        </c:forEach>
    </table>

</body>
</html>
